<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018\8\11 0011
 * Time: 10:34
 */
abstract class Creator{
    protected abstract function factoryMethod();
    public function atartFactory(){
        $mfg = $this->factoryMethod();
        return $mfg;
    }
}